package com.pnnd.utils;

public class NotArrayClassException extends RuntimeException {

    private Class<?> errorClass;

    public NotArrayClassException(Class<?> klass){
        this.errorClass = klass;
    }

    @Override
    public String getMessage(){
        return this.errorClass + " is not a array";
    }

}
